package chapter16;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author liuziyang
 * @create 2019-03-16 22:31
 */
public class ArrayOfGenericType<T> {
    T[] array;

    public ArrayOfGenericType(int size) {
        array = (T[]) new Object[size];
    }

    /*public <U> U[] makeArray(){
        return new U[10];
    }*/
}
